package com.shop.clientorder.feign;

import com.shop.common.core.domain.Result;
import com.shop.coupon.domain.SkuFullReduction;
import com.shop.coupon.domain.SkuLadder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author：作者姓名
 * @Package：com.shop.clientorder.feign
 * @Project：e-commerce-services
 * @name：CouponFeign
 * @Date：2024/7/11 21:41
 */
@FeignClient(name = "shop-coupon1",url = "localhost:9222")
public interface CouponFeign {
    @GetMapping("/skuPullReduction/skuFullList")
    public Result<SkuFullReduction>skuFullList(@RequestParam("skuId") Long skuId);

    @GetMapping("/skuLadder/skuLadderList")
    public Result<SkuLadder>skuLadderList(@RequestParam("skuId") Long skuId);

}
